﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using StudentMgmt.Model;


namespace StudentMgmt
{
    public partial class NewStudent : Form
    {
        public NewStudent()
        {
            InitializeComponent();


        }

        private void btuComfirm_Click(object sender, EventArgs e)  
        {
            StudentInfo studentInfo = new StudentInfo();
            studentInfo.StudentName = tbStuName.Text.Trim();
            studentInfo.Sex = this.rdbFemale.Checked ? "男" : "女";

        }

     

        private void btuGetStuNo_Click(object sender, EventArgs e)
        {

        }

        
    }
}
